#include "TomcatCheckWorker.h"
#include "CmdUtil.h"
#include <QThread>
#include <QDebug>
#include <QObject>

TomcatCheckWorker::TomcatCheckWorker()
{

}

void TomcatCheckWorker::doWork() {
    while(true) {
        qDebug() << CmdUtil::isPortListening(880);
        QThread::sleep(1);
    }
    emit resultReady(0);
}
